package cn.gr.crawl.util;

public class RequestUrl {
    //认证请求URL
    public static final String autRequest(String userName,String psw){
        StringBuilder sb = new StringBuilder();
        sb.append("https://www.google.com/accounts/ClientLogin?accountType=HOSTED_OR_GOOGLE&Email=");
        sb.append(userName);
        sb.append("&Passwd=");
        sb.append(psw);
        sb.append("&service=reader&source=J-MyReader-1.0");
        return sb.toString();
    }
    
    //token请求URL
    public static final String TOKEN_REQUEST="https://www.google.com/reader/api/0/token";
    //标签列表请求URL
    public static final String TAG_REQUEST="https://www.google.com/reader/api/0/tag/list";
    //订阅列表请求URL
    public static final String SUB_REQUEST="https://www.google.com/reader/api/0/subscription/list";
    //偏好列表请求URL
    public static final String PRE_REQUEST="https://www.google.com/reader/api/0/preference/list";
    //未读列表请求URL
    public static final String READER_REQUEST="https://www.google.com/reader/api/0/unread-count";
    //标签编辑请求URL
    public static final String TAG_EDIT_REQUEST="https://www.google.com/reader/api/0/edit-tag";
    //删除标签请求URL
    public static final String TAG_DEL_REQUEST="https://www.google.com/reader/api/0/disable-tag";
    //增加标签请求URL
    public static final String TAG_ADD_REQUEST="";
    //增加订阅请求URL
    public static final String SUB_ADD_REQUEST="https://www.google.com/reader/api/0/subscription/quickadd";
    //删除订阅请求URL
    public static final String SUB_DEL_REQUEST="https://www.google.com/reader/api/0/subscription/edit";
    //增加评论请求URL
    public static final String COM_ADD_REQUEST="";
    //删除评论请求URL
    public static final String COM_DEL_REQUEST="";
    //修改评论请求URL
    public static final String COM_EDIT_REQUEST="";
    //增加笔记请求URL
    public static final String ITEM_ADD_REQUEST="https://www.google.com/reader/api/0/item/edit";
    //删除笔记请求URL
    public static final String ITEM_DEL_REQUEST="https://www.google.com/reader/api/0/item/delete";
    //笔记评论请求URL
    public static final String ITEM_EDIT_REQUEST="https://www.google.com/reader/api/0/item/edit";
    
    
    

}
